/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bean;

import BO.StaticBO;
import java.util.List;
import pojo.Static;

/**
 *
 * @author phong
 */
public class StaticBean {

    private String status = "All";
    private String startDate = "";
    private String endDate = "";
    private String timeTableId = "All";
    private List<Static> statics;

    public StaticBean() {
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public List<Static> getStatics() {
        return statics;
    }

    public void setStatics(List<Static> statics) {
        this.statics = statics;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTimeTableId() {
        return timeTableId;
    }

    public void setTimeTableId(String timeTableId) {
        this.timeTableId = timeTableId;
    }

    public List<Static> viewStatic() {
        this.statics = StaticBO.getStatictLab(this.status, this.startDate, this.endDate, this.timeTableId);
        return this.statics;
    }
}
